package com.yxp423.ssmempl.bean.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: java类作用描述
 * @Author: yxp
 * @CreateDate: 2019-05-07 20:00
 * @Version: 1.0
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserOnline implements Serializable{

	private static final long serialVersionUID = 3828664348416633856L;
	// session id
	private String id;
	// 用户id
	private String userId;
	// 用户名称
	private String username;
	// 用户主机地址
	private String host;
	// 用户登录时系统IP
	private String systemHost;
	// 状态
	private String status;
	// session创建时间
	private Date startTimestamp;
	// session最后访问时间
	private Date lastAccessTime;
	// 超时时间
	private Long timeout;

	private String userAgent;

}